<template>
    <div class="list-item2" v-if="courseList.info">
        <p class="list-item2-title">{{courseList.info.title}}</p>
        <span class="a"> {{courseList.info.price==0 ? '免费':courseList.info.price }}</span>
        <p>共一课时|67人报名</p>
        <p>开课时间：2021.07.08 00:00:00-2021.07.09 00:00:00</p>
    </div>
</template>

<script>
export default {
    props: ['courseList'],
    mounted() {
        // console.log(this.v)
    },
    methods: {
    }
};
</script>

<style lang="scss" scoped>
.list-item2 {
    margin-top: 50px;
    height: 130px;
    background: white;
    margin-bottom: 10px;
    font-size: 12px;
    color: #999;
    display: flex;
    flex-direction: column;
    padding-left: 15px;
}

.list-item2-title {
    font-size: 18px;
    color: black;
}

.a {
    color: red;
    font-size: 16px;
  // margin: 10px 0;  
}
p{
margin: 10px 0;
}
</style>